import request from '@/utils/request'

/*
*获取快递员分页数据的接口
*  */
export const fetchCourierListAPI = (params) => {
  return request({
    url: '/manager/business-hall/courier/page',
    method: 'GET',
    params
  })
}
/*
*
* 获取快递员详情的接口
*  */
export const fetchCourierAPI = (id) => {
  return request({
    url: `/manager/business-hall/courier/${id}`,
    method: 'GET'
  })
}
